package com.example.demo14streamproducer.msg;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.messaging.SubscribableChannel;

/**
 * 此接口用来绑定通道
 * 此接口可以使用Sink，Source，或Processor接口代替
 * @author yawn
 */
public interface ISendService {

    @Output("myInputChannel")
    SubscribableChannel send();

//    @Output(Sink.INPUT)
//    SubscribableChannel send();
}
